<?php
$q=$_GET["q"];

$host='localhost';
$data_user='root';
$data_pass='';

$data_name='dung';
//ket noi co so du lieu
$conn = mysql_connect($host,$data_user,$data_pass) or die('can\'t connect to database');   
mysql_select_db('dung',$conn) or die('can\'t select table');

$sql="select*from thietbi";
        
        $k=mysql_query($sql);
        $response=mysql_fetch_object($k);
        echo $response->thietbi1;
mysql_close($conn);
        

?>